package com.mes.defece.mapper;

import com.mes.pojo.defece.Shipment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShipmentMapper {
//    分页查询
    List<Shipment> selectAll(Shipment shipment);
//    新增数据
    int insert(Shipment shipment);
//    根据id查询出货检验单信息
    Shipment selectById(Long shipmentId);
//    根据id修改出货检验单信息
    int updateShipmentById(Shipment shipment);
//    根据id删除出货检验单信息
    int deleteById(Shipment shipment);
}
